package cn.iocoder.yudao.module.mqtt.controller.admin.devicereport.vo;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.*;
import java.util.*;
import jakarta.validation.constraints.*;

@Schema(description = "管理后台 - MQTT报表分类新增/修改 Request VO")
@Data
public class DeviceReportSaveReqVO {

    @Schema(description = "报表ID", requiredMode = Schema.RequiredMode.REQUIRED, example = "13274")
    private Long id;

    @Schema(description = "设备ID", requiredMode = Schema.RequiredMode.REQUIRED, example = "22400")
    @NotNull(message = "设备ID不能为空")
    private Long deviceId;

    @Schema(description = "名称", requiredMode = Schema.RequiredMode.REQUIRED, example = "李四")
    @NotEmpty(message = "名称不能为空")
    private String reportName;

    @Schema(description = "数据类型", requiredMode = Schema.RequiredMode.REQUIRED, example = "2")
    @NotEmpty(message = "数据类型不能为空")
    private String dataType;

    @Schema(description = "数量", requiredMode = Schema.RequiredMode.REQUIRED)
    @NotEmpty(message = "数量不能为空")
    private String mqttNum;

    @Schema(description = "报表类型", requiredMode = Schema.RequiredMode.REQUIRED, example = "2")
    @NotEmpty(message = "报表类型不能为空")
    private String reportType;

}